<?php  session_start();
if($_SESSION['id']==""){
  header("Location:index.php");

}?>
<!DOCTYPE html>
<html>
<head lang="zh-cn">
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <title>格悦会VIP系统（内测版）</title>
  <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <link href="index.css" rel="stylesheet" type="text/css">
<style>
  *{
    margin: 0;
    padding: 0;
    list-style: none;
  }
  body,html{
    width: 100%;
    height: 100%;
  }
</style>
</head>  
<body>

      <div class="main">
          <center>
            <div class="user" >
            <p>
            <br>
            <p>
             <?php
            
                        echo "<p>"."<br>";
                        echo "<img src='{$_SESSION[pic]}' width='40%'>"."<br>"."<p>";
                        echo "{$_SESSION['nickname']}"."你好";
                        
                     
          ?>
            </div>
          </center>
        <div class="body" >
            <a href="home.php"><div class="home">首页</div></a>
            <a href="message.php"><div class="message" >我的信息</div></a>
        </div>
    
      </div>

      </body>
      </html>